<?php
  class fact extends CI_Controller{
      public function get(){
          $this->load->library('tabletojson');
          
          echo json_encode($this->tabletojson->GetAll('sys_fact'));
      }
  }
?>
